#include<stdio.h>

int main()
{ char m[20]="";
  FILE* fp2=fopen("file_2.txt","r");
  if(NULL==fp2)
  { perror("fopen");
    return 1;
  }
  fgets(m,5,fp2);
  fclose(fp2);
  fp2=NULL;
  
   FILE* fp1=fopen("file_1.txt","a");
   if(NULL==fp1)
  { perror("fopen");
    return 1;
  }
  fputs(m,fp1);
  
  fclose(fp1);
  fp1=NULL;
  
 return 0;
}
